/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function sexoConjuge(objComboOrigem, strComboDestino){

    var strSexo = "";
    var sexo = objComboOrigem.value;

    if (sexo == "M") {
        strSexo = "<option value='F'>Feminino</option>";
    }else{
        strSexo = "<option value='M'>Masculino</option>";
    }
    var strHTML = "<select id='sexCojLocat' name='sexCojLocat' class='selecSexo' disabled >"+
                        strSexo+
                  "</select>";

    document.getElementById(strComboDestino).innerHTML = strHTML;
}
